package com.itsci.assignment1;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

public class ScheduleDetail extends Activity{
	private TextView title;
	private TextView name;
	private TextView date;
	private TextView time;
	private TextView detail;
	private Button btnEdit;
	private String id;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.detail_midical);
		title = (TextView)findViewById(R.id.textView_schedule_title);
		name = (TextView)findViewById(R.id.textView_schedule_name);
		date = (TextView)findViewById(R.id.textView_schedule_date);
		time = (TextView)findViewById(R.id.textView_schedule_time);
		detail = (TextView)findViewById(R.id.textView_schedule_detail);
		btnEdit = (Button)findViewById(R.id.button_detail_midical_Edit);
		
		Intent intent = getIntent();
		name.setText(intent.getStringExtra("name"));
		date.setText(intent.getStringExtra("date"));
		time.setText(intent.getStringExtra("time"));
		title.setText(intent.getStringExtra("summary"));
		detail.setText(intent.getStringExtra("detail"));
		
		
		

		
		
		
		
		
		
	}
}
